import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
import { createSvg } from './src/assets/icons/index'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(),
  createSvg('./src/assets/icons/svg/')],
  resolve:{
    alias:{
      'vue':'vue/dist/vue.esm-bundler.js',
      '@':path.join(__dirname, 'src')
    }
  }
})
